#!/bin/bash

for i in 1 2 3 4 5 
do
    if [ $i -eq 1 ]
    then
        continue
    fi
    if [ $i -eq 3 ]
    then
        break
    fi
    echo $i
done